#banner{
    img{
        width: 100%;
    }
}

#video{
    width: 960px;
    .head{
        display: flex;
        justify-content: flex-end;

        .house{
            padding-top: 11px;
            width: 120px;
            display: flex;
            margin-right: auto;
            font-size: 19px;

            img{
                width: 19px;
                height: 17px;
                margin-top: 5px;
            }

            p{
                padding-left: 10px;
            }
        }
        
        .position{
            padding-top: 15px;
        }
    }

    .video-item{
        flex-wrap: wrap;
        display: flex;
        justify-content: space-between;
        padding-top: 20px;

        .item{
            margin: 20px 0 20px 0;
            position: relative;
            border: 1px solid #d3d4d0;
            background-color: #fafafa;

            .title{
                width: 100%;
                position: absolute;
                background-color: #fff;
                text-align: right;
                bottom: 0;
                padding: 8px 0;

                p{
                    margin: 0 auto;
                    width: 74%;
                }

                & > p:first-child{
                    font-size: 14px;
                    color: #4b4b4b;
                }

                & > p:last-child{
                    font-size: 12px;
                    color: #aeaeae;
                }
            }

            &:hover .title{
                display: none;
            }

            &:hover .video img{
                content: url('/images/第一块.png');

            }
        }
    }

    .pagination{
        padding-top: 30px;
        margin-left: 20px;
        font-size: 20px;
        padding-bottom: 30px;
    }
}

@media screen and (max-width: 1280px) {
    .navbar {
        min-height: 70px;
    }
}

@media screen and (max-width: 768px) {
    #video {
        width: 70%;
        padding: 0 15px;
    }

    .video-item {
        flex-direction: column;
        align-items: center;
        .item {
            width: 100%;
            margin: 10px 0;

            .video{
                img{
                    width: 70vw;
                }
            }

            .title{
                & > p:first-child{
                    font-size: 3vw;
                }
            }
        }
    }

    .pagination {
        gap: 5px;
    }
}

